package com.oms.app.news.model;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.oms.base.JSONDateTimeSerializer;
import com.oms.base.OMSType;

/**
 * NEWS表对应实体
 * @author Loong_Mit
 * @date Sep 1, 2012 12:30:07 PM
 */

public class News {
	private String title = "";				/** 新闻标题 **/
	private String content = "";			/** 内容 **/
	private String type = "";				/** 新闻类型 **/
	private Date pub_time;					/** 发布时间 **/
	private String puber_name = "";			/** 发布者昵称 **/
	private String source_link = "";		/** 原文链接 **/
	private String pub_ip = "";				/** 发布时IP **/
	private Integer reply_ct = 0;			/** 评论数 **/
	private String head = OMSType.NO;		/** 是否头条 **/
	private String recommend = OMSType.NO;	/** 是否推荐 **/
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	@JsonSerialize(using=JSONDateTimeSerializer.class)
	public Date getPub_time() {
		return pub_time;
	}
	public void setPub_time(Date pub_time) {
		this.pub_time = pub_time;
	}
	public String getPuber_name() {
		return puber_name;
	}
	public void setPuber_name(String puber_name) {
		this.puber_name = puber_name;
	}
	public String getSource_link() {
		return source_link;
	}
	public void setSource_link(String source_link) {
		this.source_link = source_link;
	}
	public String getPub_ip() {
		return pub_ip;
	}
	public void setPub_ip(String pub_ip) {
		this.pub_ip = pub_ip;
	}
	public Integer getReply_ct() {
		return reply_ct;
	}
	public void setReply_ct(Integer reply_ct) {
		this.reply_ct = reply_ct;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public String getRecommend() {
		return recommend;
	}
	public void setRecommend(String recommend) {
		this.recommend = recommend;
	}
	
}